package net.wicp.tams.common.es.client.pool;

import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

import net.wicp.tams.common.es.client.ESClient;

public class ESClientPool extends GenericObjectPool<ESClient> {

	public ESClientPool(GenericObjectPoolConfig<ESClient> poolConfig) {
		super(new ESClientFactory(), poolConfig);
	}

	public ESClientPool() {
		this(new GenericObjectPoolConfig<ESClient>());
	}

}
